package com.jz.netthings.netty.support;

/**
 * 客户端类型
 */
public enum  ClientType {

    /**
     * 建档
     */
    PUT_NO_RECORD(0,"PUT_NO_RECORD"),
    /**
     * 登记
     */
    REGISTER(2,"REGISTER"),
    /**
     * 体检
     */
    BODY_CHECK(3,"BODY_CHECK"),
    /**
     * 小样采集
     */
    SAMPLE_COLL(1,"SAMPLE_COLL"),
    /**
     * 分配
     */
    ALLOT(4,"ALLOT"),
    /**
     * 采浆
     */
    COLL_PLASMA(7,"COLL_PLASMA"),
    /**
     * 费用发放
     */
    GRANT_MONEY(5,"GRANT_MONEY"),
    /**
     * 热合
     */
    HEAT_SEAL(6,"HEAT_SEAL");

    private int value;
    private String name;

    private ClientType(int value,String name){
        this.value = value;
        this.name = name;
    }

    public String getName() {
        return name;
    }
    public int getValue(){
        return this.value;
    }


    @Override
    public String toString() {
        return this.getName();
    }
}
